package pers.dawnyang.modular.system.service;

import java.util.List;
import java.util.Map;

import pers.dawnyang.common.domain.TreeNode;
import pers.dawnyang.modular.system.domain.common.UserInfo;
import pers.dawnyang.modular.system.domain.request.system.EditPwdReq;

public interface SystemService {

    List<TreeNode> getSideNav(Map<String, String> map, List<String> permsList);

    UserInfo getUserInfo(String userCode);

    boolean checkOldPwd(String oldPwd, String userCode);

    void editPwd(EditPwdReq req, String userCode);

}
